package com.yunhe.policyfulfillment.policyful.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @ClassName PolicyInfoApplyMatterVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/8/24 16:03
 * @Version 1.0
 **/
@Data
@ApiModel("事项审核列表对象")
//@JsonInclude(JsonInclude.Include.NON_NULL)
public class PolicyInfoApplyMatterVo {

    @ApiModelProperty(value = "id")
    private int id;

    @ApiModelProperty(value = "申请编号")
    private String applyNo;

    @ApiModelProperty(value = "事项名称")
    private String matterTitle;

    @ApiModelProperty(value = "主管部门")
    private int orgId;

    @ApiModelProperty(value = "主管部门名称")
    private String orgName;

    @ApiModelProperty(value = "申请企业")
    private String companyName;

    @ApiModelProperty(value = "归属园区")
    private int ownedPark;

    @ApiModelProperty(value = "归属园区部门")
    private String ownedParkName;

    @ApiModelProperty(value = "申请时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String applyTime;

    @ApiModelProperty(value = "当前审核节点")
    private String currentAuditNode;

    @ApiModelProperty(value = "当前节点扭转时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String currentAuditTime;

    @ApiModelProperty(value = "下个审核节点")
    private String nextAuditNode;

    @ApiModelProperty(value = "剩余审核节点个数")
    private int remainingAuditNodeCount;

    @ApiModelProperty("最后修改人")
    private Long updatePerson;

    @ApiModelProperty("最后修改人名称")
    private String updatePersonName;


}
